using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DailyTransaction
{
    public partial class MessageForm : Form
    {
        public static string msg = "";
        public static int result = 0;
        public MessageForm()
        {
            InitializeComponent();
        }

        private void MessageForm_Load(object sender, EventArgs e)
        {
            txtMessage.Text = msg;
            btnCancel.Focus();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            result = 1;
            this.Close();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            result = 0;
            this.Close();
        }
    }
}